package com.liangzhong.events
{
	/**
	 * 球员中心 
	 * @author Administrator
	 * 
	 */	
	public class PlayerCenterEvent extends ModuleEvent
	{
		public function PlayerCenterEvent(type:String, param :Object = null, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			this.param = param;
		}
		/**
		 *移除面板 
		 */
		public static const REMOVE_MODEL:String = "remove_model";
		/**
		 *球员中收升级 
		 */
		public static const UPGRADE_PLAYERCENTER:String = "upgrade_playerCenter";
		
		/**
		 *清除球员中心升级时间 
		 */
		public static const CLEAR_UP_TIME:String = "clear_up_time";
		/**
		 *回复体力
		 * type :1为单个回复 2为全部回复(cellid= 0为点券回复，不等于0则物品回复) 
		 */
		public static const REPLY_PLAYER_POWER:String = "reply_player_Power";
		/**
		 *回复buff 
		 */
		public static const REPLY_BUFF:String = "reply_buff";
//		/**
//		 *退役球员 
//		 */
//		public static const RETIRE_PLAYER:String = "Retire_PLAYER";
//		/**
//		 *解雇球员 
//		 */
//		public static const LAYOFF_PLAYER:String = "Layoff_player";
		
		
		/**
		 * 删除球员
		 * 1为退役
		 * 2为解雇 
		 */
		public static const REMOVE_PLAYER:String = "remove_player";
		/**
		 *增加士气  
		 */
		public static const ADD_MORALE:String = "add_Morale";
		/**
		 *增加球员格数量 
		 */
		public static const ADD_PLAYER_CELL:String = "add_player_cell";
		/**
		 *保存阵容 
		 */
		public static const SAVE_BATTLEARRAY:String = "save_battlearray";
		/**
		 *更换装备  
		 */
		public static const REPLACE_EQUIP:String = "REPLACE_EQUIP";
		/**
		 *球员号码修改 
		 */
		public static const CHANGE_PLAYER_NUMBER:String = "change_player_number";
		/**
		 *删除阵容设置面板 
		 */
		public static const REMOVE_BATTLE_VIEW:String = "remove_battle_view";
		/**
		 *添加阵容设置面板 
		 */
		public static const ADD_BATTLE_VIEW:String = "add_battle_view";
		
		
	}
}